package com.chushouya.manager.dto.admin.user.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户信息")
public class UserInfoDTO {

    @ApiModelProperty("授权token")
    private String token;

    @ApiModelProperty("小程序用户唯一id")
    private String openId;

    @ApiModelProperty("平台")
    private String platform;

    @ApiModelProperty("用户Id")
    private Long userId;

    @ApiModelProperty("用户类型")
    private Integer userType;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("用户手机号")
    private String phone;

    @ApiModelProperty("用户头像")
    private String avatar;

//    @ApiModelProperty("用户类型")
//    private String userTypeDesc;

//    public String getUserTypeDesc() {
//        return UserTypeEnum.getName(userType);
//    }
}
